package com.itheima.a01genericsDemo1;

import java.util.ArrayList;

public class GenericsDemo1 {

    public static void main(String[] args) {

        ArrayList<String> list1 = new ArrayList<>();

        ListUtil.addAll1(list1, "aaa", "bbb", "ccc", "ddd");
        ListUtil.addAll2(list1, "aaa", "bbb", "ccc", "ddd");

        System.out.println(list1);

    }
}
